/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gruppe1projekt.ControllerLayer;

import gruppe1projekt.ModelLayer.Employee;
import gruppe1projekt.ModelLayer.EmployeeContainer;
import java.util.ArrayList;

/**
 *
 * @author Moulde
 */
public class EmployeeController
{
    EmployeeContainer container;
    public EmployeeController()
    {
        container = EmployeeContainer.GetInstance();
    }

    public ArrayList<Employee> getEmployees()
    {
        return container.getEmployees();
    }

    public Employee getEmployee(String username)
    {
        return container.getEmployee(username);
    }
}
